<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<link rel="stylesheet" href="css/ui-box.css">
    <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/ui-color.css">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/img.css">
    <link rel="stylesheet" href="css/iscroll.css">

	<script src="js/core/zy_control.js"></script>
    <script src="js/core/zy_click.js"></script>
    <script src="js/core/appframework.js"></script>
    <script src="js/core/exif.js"></script>
    <script src="js/core/slide.js"></script>
    <script src="js/core/iscroll.js"></script>
    <script src="js/upload.js"></script>
    <script src="http://static.polyv.net/file/polyvplayer_v2.0.min.js"></script>
    <script src="js/main.js"></script>
    <script src="js/core.js"></script>
    <script src="js/res.js"></script>

    <script src="js/project.js"></script>

</head>
<body class="ub ub-ver"> 
	<div id="content" class="ub ub-f1 ub-ver">
		<div id="player" style="position:relative;z-index:99999;" ontouchstart="zy_touch()" onclick="Project.jumpKity()"></div>
		<div id="tabTitle" class="ub ufp9 ub-img2 im_tab_bg uptb_p5 c_tab" style="margin-top:-0.3em;z-index:99999;">
			<div id="desT" class="ub ub-f1 ub-ver up_title_item2 selected" ontouchstart="zy_touch()" onclick="">
			   	<div class="tx-c uw5p5 um_auto text uf1p uptb_p3">项目介绍</div>
		   	</div>
		   	<div id="courseT" class="ub ub-f1 ub-ver up_title_item2" ontouchstart="zy_touch()" onclick="">
			   	<div class="tx-c uw5p5 um_auto text uf1p uptb_p3">关联课程</div>
		   	</div>
		   	<div id="messageT" class="ub ub-f1 ub-ver up_title_item2" ontouchstart="zy_touch()" onclick="">
			   	<div class="tx-c uw5p5 um_auto text uf1p uptb_p3">讨论</div>
		   	</div>
		</div>
		<div id="tabSelect" class="uhp1 bc_green" style="position:relative;margin-top:-0.1em;transition: all 0.5s;z-index:99999;">
	   		<div class="im_tab_selected ub-img uwp7 uhp7" style="position:absolute;bottom:-0.1em;left:48%;"></div>
	   	</div>
		<div id="redTab">
			<div id="des" class="ub ub-ver up1 ufp9" style="display:block;">
				<div class="ub ub-f1 ubb b_gra uptb_1">
					<div class="tx-r c_tab uwp18">项目名称&nbsp;:　</div>
					<div id="projectName" class="ub-f1 c_gra2"></div>
				</div>
				<div class="ub ub-f1 ubb b_gra uptb_1">
					<div class="tx-r c_tab uwp18">项目介绍&nbsp;:　</div>
					<div id="projectDes" class="ub-f1 c_gra2"></div>
				</div>
				<div class="ub ub-f1 ubb b_gra uptb_1">
					<div class="tx-r c_tab uwp18">项目图片&nbsp;:　</div>
					<div id="projectPhoto" class="ub-f1 c_gra2 upl_percent5 upp5" ></div>
				</div>
			</div>
			<div id="course" class="ub ub-ver ufp9"></div>	
			<div id="message" class="ub ub-ver ufp9 ub-f1">

			</div>	
		</div>
	</div>
</body>
</html>
<script>
zy_init();
$("#tabSelect").width($("body").width()/3 + "px");
$("#redTab>div").removeClass("ub");

window.uexOnload = function(type){
    PCall("index_project_detail",'$("#footer").addClass("hide")');
    Add20ToHeader();
    if (!type) {

        Project.projectDetailInit();
        
        $("#tabTitle>div").click(function(){ 	
        	var i =$("#tabTitle>div").index(this);
        	if ($("#redTab>div").eq(i).attr("id") == "message")
                return OpenNewWin("index_message");
        	var translate = i*($("body").width()/3) + "px";
        	$("#tabSelect").css("-webkit-transform","translate(" + translate + ")");
        	$("#redTab>div").css("display","none");
        	$("#redTab>div").eq(i).css("display","block");

    		$(".up_title_item2").removeClass("selected");
    		$(this).addClass("selected");

            //解决IOS输入法弹出问题
            $("#msg").focus(function(){
                $("#footer").css("position","absolute");
                window.scrollTo(0,0); 
            }).blur(function(){
                $("#footer").css("position","fixed");
            });
    	});
		window.scrollTo(0,0); 
    }
     //隐藏滚动条
    uexWindow.setWindowScrollbarVisible(false);
}
</script>